package com.hotel.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hotel.entity.ShoppingCart;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * 购物车服务
 *
 * @author Li
 * @date 2022/06/11
 */
public interface ShoppingCartService extends IService<ShoppingCart> {

    IPage<ShoppingCart> getCartList(String nickName,Integer current,Integer size);

    int updateCartNumber(Integer id,Integer number);

    int deleteCart(String id);

    int clearCart(String nickName);
}
